<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Pay By Ride - Emulador móvil</title>

<link rel="stylesheet" type="text/css" href="../css/paybyride.css" media="screen" />
<script type="text/javascript" src="../js/jquery-min.js"></script>
<script type="text/javascript" src="../js/paybyride-jq-extensions.js"></script>
<script type="text/javascript" src="../js/paybyride-mobile-emulator-login.js"></script>

</head>

<body>

	<div class="div-header">
		<div class="div-header-content">
			<div class="div-header-logo">
				<a href="/GeoUdimaServer"><img src="../images/header-logo.png" border="0"></a>
			</div>
			<div class="div-header-text">
				Emulador móvil
			</div>
			<div class="div-header-mobile-logo">
				<img src="../images/mobile-logo.png">
			 </div>
		</div>
	</div>

	<div class="div-content">
		<div id="div-login" class="tool-section">
			<div class="tool-section-header">Login usuario</div>
			<div class="tool-section-content">
				<div class="div-login">
					<form id="frmLogin" onsubmit="return false">
						<%
							//user session token fetch from session
							//if session token exists a first login try will be thrown on page load
							
						%>
						<input type="hidden" id="user-session-token" value="">
						<div>
							<span class="lbl-login-field-name">Usuario</span><input type="text" name="userName">
						</div>
						<div id="div-user-login-error-user" class="login-user-error error"></div>
						<div>
							<span class="lbl-login-field-name">Contraseña</span><input type="password" name="password">
						</div>
						<div id="div-user-login-error-password" class="user-login-error error">asdasd</div>
						
						<div class="tool-buttons">
							<a id="btn-user-login" class="button-orange">Entrar</a>
							&nbsp;&nbsp;
							<a id="btn-goto-register-user" class="button-green">Registrarse</a>
						</div>
					</form>
				 </div>
			</div>
		</div>
	</div>

</body>

</html>